<template>
  <iframe :src="link"></iframe>
</template>

<script>
  export default {
    name: "external-links",
    props:{
      link: String
    },
    created() {
      console.log('外链地址',this.link)
    },
  }
</script>

<style lang="less" scoped>
iframe{
  width: 100%;
  height: 100%;
  border: 0;
  flex: 1 0 80%;
  position: absolute;
  top:0;
  right: 0;
  bottom: 0;
  left: 0;
}
</style>